package com.haozi.config;

/**
 * @author zyh
 * @version 1.0
 * @date 2022/4/27 10:55 上午
 */
public class BaiduConfig implements DataSourcelConfig {
    @Override
    public DataSourceType queryType() {
        return DataSourceType.BAIDU;
    }

    @Override
    public int refreshSeconds() {
        return 20;
    }

    @Override
    public String queryUrl() {
        return "https://finance.pae.baidu.com/selfselect/getstockquotation?code=000001&all=1&isIndex=true&isBk=false&isBlock=false&stockType=ab&market_type=ab&group=quotation_index_minute";
    }

}
